#include "Layer.h"


Layer::Layer(void)
{
}


Layer::~Layer(void)
{
}

void Layer::draw(SDL_Surface* screen,SDL_Rect * camera)
{

}

void Layer::update(SDL_Rect * camera)
{

}

void Layer::apply_surface(int x, int y,SDL_Surface* source, SDL_Surface* destination,SDL_Rect * camera){
	
	//Make a temporary rectangle to hold the offsets
    SDL_Rect offset;
    
    //Give the offsets to the rectangle
    offset.x = x;
    offset.y = y;

	 //Blit the surface
    SDL_BlitSurface( source, camera, destination, &offset );
}

